module Spec::Runner::ContextEval::ModuleMethods
  def test(spec_name=:__generate_description, opts={}, &block)
    specify(spec_name, opts, &block)
  end
end

module Kernel
  def scenario(name, &block)
    context(name, &block)
  end
end

class Object
  # def should_equal(v)
  #   Scenario::TestExpression.new("#{self} should equal #{v}") {self == v}
  # end
  # 
  # def should_not_equal(v)
  #   Scenario::TestExpression.new("#{self} should not equal #{v}") {self == v}
  # end
end

scenario "hey" do
  setup do
    @data = 3
  end
  
  teardown do
  end
  
  test "wowie" do
    @data.should == 3
    (1 + 1).should == 2
    (1 + 1).should_not eql(3)
  end
  
  test "exception" do
    proc {nil.abc}.should_raise
  end
end

